<?php
//xna artilces
require_once('global.php');
$id = $_GET[id];
if (!is_numeric($id)){
  echo "Error id";
  return false;
}
$news = $db->fetch_one_array("SELECT * FROM {$tablepre}xna_feed WHERE feedid=$id limit 1");
if ($news){
  $news[title] = "" . $news["feed_title"] . " - ";
  $news[ctime] = date("Y-m-d H:i:s",$news["addtime"]);
  $news[sum] = $xnum[$news[id]];
  $news[hist] = $news[hist];
  
  $db->query("update {$tablepre}xna_feed set feed_hits=feed_hits + 1 WHERE feedid=$id");
}else{
  message('Error id', './');
}

include template("print", _ROOT ."/template/digg/");
?>